package com.example.service.Impl;

import com.example.entity.EasybuyNews;
import com.example.mapper.EasybuyNewsMapper;
import com.example.service.EasybuyNewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EasybuyNewsServiceImpl implements EasybuyNewsService {

    @Autowired
    public EasybuyNewsMapper easybuyNewsMapper;

    @Override
    public List<EasybuyNews> findAllnews() {
        return easybuyNewsMapper.findAllnews();
    }
}
